package com.marktotop.service;

import com.marktotop.pojo.Payment;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MarkToTop
 * @since 2021-07-03
 */
public interface IPaymentService {

    /**
     * 保存流水号
     * @param payment
     * @return
     */
    boolean save(Payment payment);

    /**
     * 根据id查询流水号
     * @param id
     * @return
     */
    Payment getById(Long id);
}
